package cn.wiseda.finance.join;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class PortfolioRowMapper implements RowMapper {

//    public Object mapRow(ResultSet rs, int rowNum) throws SQLException {
//        PortfolioResultSetExtractor extractor = new PortfolioResultSetExtractor();
//        return extractor.extractData(rs);
//    }

    @Override  
    public Portfolio  mapRow(ResultSet rs, int rowNum) throws SQLException  {
       Portfolio portfolio = new Portfolio();  
       //set stuff on your object here  
       return portfolio;  
   }  

}